package com.yh.ldzl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yh.ldzl.domain.QcDefect;
import com.yh.ldzl.domain.QcIndex;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface QcIndexMapper extends BaseMapper<QcIndex> {

    IPage<QcIndex> selectQcIndexList(IPage<QcIndex> page,
                                     @Param("index_code") String index_code,
                                     @Param("index_name") String index_name,
                                     @Param("index_type") String index_type);

    int insertQcIndex(QcIndex qcIndex);
    int updateQcIndex(QcIndex qcIndex);
    int deleteQcIndex(@Param("ids") List<Long> ids);




}
